<template>
  <div>
      <p>{{num}}</p>
      <ul>
          <li v-for="(item,index) in crr" :key="index">{{item}}</li>
      </ul>
  </div>
</template>

<script>
export default {
    data(){
        return {
            brr:[1, 0, 2, 0, 0, 0, 5],
            crr:[],
        }
    },
    computed: {
        num(){
          return  this.brr.forEach(item=>{
                this.crr.push(item*2)
            })
        }
    }

}
</script>

<style>

</style>